﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WindowsStateService.Data
{
    public class DataBase
    {
        private object _value;
        private DateTime _dateTime;
        public object Value
        {
            get { return _value; }
            set { _value = value; }
        }
        public DateTime Time
        {
            get { return _dateTime; }
            set { _dateTime = value; }
        }
        public DataBase()
        {
            _dateTime = DateTime.Now;
        }

        public DataBase(object value):this()
        {
            _value = value;
        }
    }
}
